<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>DataGrid 数据表格</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link href="../../../frame1/res/css/demo.css" rel="stylesheet" type="text/css" />
    <script src="../../../../scripts/boot.js" type="text/javascript"></script>
    <script src="../../js/ColumnsMenu.js" type="text/javascript"></script>
</head>
<body>
<div style="width:800px;">
    <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
        <table style="width:100%;">
            <tr>
                <td style="width:100%;">
                    <a class="mini-button" iconCls="icon-add" onclick="add()">确定</a>
                    <a class="mini-button" iconCls="icon-add" onclick="edit()">取消</a>
                </td>
            </tr>
        </table>
    </div>
</div>
<div id="datagrid1" class="mini-datagrid" style="width:800px;height:280px;"
     allowResize="true"
     idField="id" multiSelect="false">
    <div property="columns">
        <!--<div type="indexcolumn"></div>-->
        <div type="checkcolumn" ></div>
        <div field="cType" width="120" headerAlign="center" allowSort="true">数据库类型</div>
        <div field="cService" width="120" headerAlign="center" allowSort="true">数据库地址</div>
        <div field="cPost" width="120" headerAlign="center" allowSort="true">数据库端口</div>
        <div id="cDBName" field="cDBName" width="120" headerAlign="center" allowSort="true">数据库名称</div>
        <div field="cUser" width="120" headerAlign="center" allowSort="true">数据库登录账号</div>
        <div field="cPassWord" width="120" headerAlign="center" allowSort="true">数据库登录密码</div>
    </div>
</div>

<script type="text/javascript" src="js/dbSource.js"></script>
</body>
</html>